package com.dev.mapper;

import com.dev.pojo.Emp;

/***
 * @author : fujc-dev@qq.com
 * @slogan : talk is cheap, show me the code. salute the future!
 */
public interface EmpMapper {
    // 根据id查询Emp实体
    //@Select("select * from emp where id=#{id}")
    Emp selectEmp(Integer id);

    // 插入
    Integer insertEmp(Emp emp);

    // 更新
    Integer updateEmp(Emp emp);

    // 删除
    Integer deleteEmp(Integer id);
}
